import { apiRequest } from "../utils/request";

//查询
export function getInfo(data) {
  return apiRequest({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery.common.kdsvc`,
    method: "POST",
    data,
  });
}

//批量保存
export function batchSave(data) {
  return apiRequest({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.BatchSave.common.kdsvc`,
    method: "POST",
    data,
  });
}

export function login(data) {
  return apiRequest({
    url: `/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc`,
    method: "POST",
    data,
  });
}
export function save(data) {
  return apiRequest({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save.common.kdsvc`,
    method: "POST",
    data,
  });
}
export function queryGroupInfo(data) {
  return apiRequest({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery.common.kdsvc`,
    method: "POST",
    data,
  });
}
